package com.ylsk.check.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;

/**
 * 施工检查任务对象 ins_check_task
 *
 * @author ysy
 * @date 2024-03-18
 */
@TableName("ins_check_task")
public class CheckTask extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 施工检查任务id */
    @TableId
    private Long checkTaskId;

    /** 施工报备id */
    @Excel(name = "施工报备id")
    private Long reportInfoId;

    /** 施工状态 */
    @Excel(name = "施工状态")
    private int constructionStatus;

    /** 数据来源 表名称 */
    @Excel(name = "数据来源 表名称")
    private String tbName;

    /** 上报业务数据id */
    @Excel(name = "上报业务数据id")
    private Long reportBusinessId;

    /** 任务状态(0未检查/1已检查) */
    @Excel(name = "任务状态(0未检查/1已检查)")
    private int taskStatus;

    /** 执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date execTime;

    /** 所属大队 */
    @Excel(name = "所属大队")
    private Long deptId;

    /** 检查时间 */
    private Date checkTaskTime;

    public void setCheckTaskId(Long checkTaskId)
    {
        this.checkTaskId = checkTaskId;
    }

    public Long getCheckTaskId()
    {
        return checkTaskId;
    }
    public void setReportInfoId(Long reportInfoId)
    {
        this.reportInfoId = reportInfoId;
    }

    public Long getReportInfoId()
    {
        return reportInfoId;
    }
    public void setConstructionStatus(int constructionStatus)
    {
        this.constructionStatus = constructionStatus;
    }

    public int getConstructionStatus()
    {
        return constructionStatus;
    }
    public void setTbName(String tbName)
    {
        this.tbName = tbName;
    }

    public String getTbName()
    {
        return tbName;
    }
    public void setReportBusinessId(Long reportBusinessId)
    {
        this.reportBusinessId = reportBusinessId;
    }

    public Long getReportBusinessId()
    {
        return reportBusinessId;
    }
    public void setTaskStatus(int taskStatus)
    {
        this.taskStatus = taskStatus;
    }

    public int getTaskStatus()
    {
        return taskStatus;
    }
    public void setExecTime(Date execTime)
    {
        this.execTime = execTime;
    }

    public Date getExecTime()
    {
        return execTime;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public Date getCheckTaskTime()
    {
        return checkTaskTime;
    }

    public void setCheckTaskTime(Date checkTaskTime) {
        this.checkTaskTime = checkTaskTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkTaskId", getCheckTaskId())
            .append("reportInfoId", getReportInfoId())
            .append("constructionStatus", getConstructionStatus())
            .append("tbName", getTbName())
            .append("reportBusinessId", getReportBusinessId())
            .append("taskStatus", getTaskStatus())
            .append("execTime", getExecTime())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("checkTaskTime", getCheckTaskTime())
            .toString();
    }
}
